package com.office.meetingManage.meetroom.service;

import com.office.meetingManage.meetroom.pojo.OaReservationmeetroom;
import com.office.meetingManage.meetroom.pojo.otherPojo.MeetingParam;
import com.office.util.PageModel;

/**
 * 会议服务接口
 * @Auther: 许月
 * @Date: 2022/10/28/16:34
 */
public interface ReservationmeetroomService {



    Boolean addMeeting(OaReservationmeetroom reservationmeetroom);

    /**
     * 修改预约会议状态
     * @param mId
     * @param status
     * @return
     */
    Boolean changeStatus(Integer mId, Integer status);

    /**
     * 查询
     * @param meetingParam
     * @param pageModel
     * @return
     */
    PageModel<OaReservationmeetroom> getList(MeetingParam meetingParam, PageModel<OaReservationmeetroom> pageModel);

    /**
     * 取消会议
     * @param rid
     * @return
     */
    Boolean deleteMeeting(Integer rid);

    /**
     * 审批会议
     * @param reservationmeetroom
     * @return
     */
    Boolean approval(OaReservationmeetroom reservationmeetroom);
}
